﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class LoginLog
    {
        public static void insert(LoginLogEntity entity)
        {
            DbHelper.ExecuteNonQuery("p_LoginLog_insert", entity.UserId, entity.UserType, entity.SessionId, entity.Ip);
        }

        public static void update(string sessionId,DateTime offLineDate)
        {
            DbHelper.ExecuteNonQuery("p_LoginLog_update",sessionId,offLineDate);
        }
    }
}
